from flask import Blueprint, render_template
from routes.auth import login_required

main = Blueprint('main', __name__)

@main.route('/dashboard')
@login_required
def dashboard():
    return render_template('dashboard.html')

@main.route('/image')
@login_required
def image():
    return render_template('image.html')

@main.route('/text')
@login_required
def text():
    return render_template('text.html')

@main.route('/audio')
@login_required
def audio():
    return render_template('audio.html')

@main.route('/short-video')
@login_required
def short_video():
    return render_template('video.html', type='short')

@main.route('/long-video')
@login_required
def long_video():
    return render_template('video.html', type='long') 